<template>
  <div>
    <el-card class="box-card">
      <el-form :model="formData" label-width="100px" label-position="right">
        <el-row type="flex" justify="space-between" :gutter="20">
          <el-col :xs="24" :md="6">
            <el-form-item label="接收人：">
              <el-input
                v-model="formData.person"
                placeholder="请输入发送人"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="手机号码：" prop="phone">
              <el-input
                v-model="formData.person"
                placeholder="请输入手机号码"
              ></el-input>
            </el-form-item>
          </el-col>
          <el-col :xs="24" :md="6">
            <el-form-item label="模板类型：">
              <el-select v-model="formData.type" placeholder="请选择">
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="6" :xs="2">
            <el-form-item label="短信内容：">
              <el-input
                v-model="formData.person"
                placeholder="请输入短信内容"
              ></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row type="flex" justify="space-between" :gutter="20">
          <el-col :span="6">
            <el-form-item label="发送时间：">
              <el-date-picker
                style="width: 100%"
                v-model="formData.startTime"
                type="datetime"
                placeholder="请选择时间段"
                :default-value="new Date()"
              >
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :xs="0" :md="8">
            <el-row type="flex" justify="end">
              <el-form-item>
                <el-button
                  style="background: #2db192; color: white"
                  @click="onSubmit"
                  >搜索</el-button
                >
                <el-button>重置</el-button>
              </el-form-item></el-row
            >
          </el-col>
        </el-row>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      formData: {},
    };
  },
  methods: {
    onSubmit() {},
  },
};
</script>

<style lang="scss" scoped>
::v-deep .el-select {
  width: 100%;
}
</style>
